<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src='layer_mobile/layer.js'></script>
	</head>
	<body>
		<script>
			 layer.open({
                        title: [
                            '我是标题',
                            'background-color:#fff; color:#000;'
                        ],
                        cancel: function() {
                            layer.open({
                                content: '你点了x',
                                time: 1
                            });
                        },
                        btn: ['确认', '取消'],
                        shadeClose: false, //默认：true，是否点击遮罩时关闭层
                        yes: function() {
                            layer.open({
                                content: '你点了确认',
                                time: 1
                            });
                        },
                        no: function() {
                            layer.open({
                                content: '你选择了取消',
                                time: 1
                            });
                        },
                        content: '标题风格任你定义。。'
                    });
		</script>
	</body>
</html>
